[USER (data scientist)]: And how about employment status and loan duration? Please generate a Series summarizing the average loan duration for each employment status.
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd 
from sklearn.preprocessing import LabelEncoder
import pickle
from decision_company import read_csv_file, 

# please import the necessary private functions from decision_company first

# Load the dataset 
credit_customers = read_csv_file("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
<code1>
[COMPLETE YOUR CODE] 
</code1>
# YOUR SOLUTION END

# Print the relationship 
print("\nRelationship between employment status and loan duration:\n", employment_duration_relationship) 

# save data
pickle.dump(employment_duration_relationship, open("./pred_result/employment_duration_relationship.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: You got it! Here's the code to analyze the relationship between employment status and loan duration:
'''
import pandas as pd 
from sklearn.preprocessing import LabelEncoder
import pickle
from decision_company import read_csv_file, 

# please import the necessary private functions from decision_company first

# Load the dataset 
credit_customers = read_csv_file("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
